If your iPad is plugged in, it’s extremely finicky with regard to the type of both the charger and the cable. Touch ID is extremely sensitive to electrical currents near it, it seems, and on home button/Touch ID it’s right near the charging socket. Oops. Unplug it, Touch ID works.