If the charging indicator does not appear after plugging your iPhone into the charger, force a restart while the phone is attached to the charger.
If erroneous apps and services are to blame, this should resolve the black screen issue.
How to fix an iPhone 7 that is stuck on black screen with notification light