Restart the computer holding down the command - option/alt - P - R keys before the gray screen appears. Continue to hold until you hear the startup chime for the second time. You may need to do this 2-3 times.
Try a SMC reset. The article covers when this is required, but doing this will not affect anything.
If your wireless or USB keyboard doesn't work