if a ps/2 nor a usb keyboartd works in the bios, and everything is decoupled, i also suspect a bad mobo; probably the keyboard controller is bad, or another part is locking up the system.
it "can" be the cpu - you can test with another one if you have a compatible one around