See if anything here helps.
Touch ID isn't working on your iPhone or iPad
If necessary, try a forced restart.
If it still doesn't work, do a backup and try a factory reset. Then restore from your backup.
Backup - Restore your device from an iCloud or iTunes backup