If that fails try to enter Safe Mode by whatever methods works here:
If so choose Advanced Troubleshoot Options to try to System Restore to a point when it was working. Power off by holding in the power button twice, on the third time it should enter Recovery Environment which has a better chance of the touchpad and keyboard working. I'm Greg, an installation specialist, 10 year Windows MVP, and Volunteer Guardian Moderator here to help you.