Read this support guide, and follow all the steps provided (going also to section: "If your device stopped charging at 80 percent"):
If your iPhone, iPad, or iPod touch won't charge - Apple Support
Charge it overnight, keeping in mind that when the battery reaches 100%, iPhone will automatically stop charging.
Regards
Giulio