Can't boot from USB or reset PRAM/NVRAM on mid-2006 iMac
It sounds like your keyboard may have been the culprit. (From the comments)

Using a different wired keyboard can be a good troubleshooting step for iMacs.