Get a cheap (or borrow) PS/2 keyboard.
Enter BIOS Setup, enable BIOS defaults or set BIOS the way you want (if you don't know, use Defaults) and make sure that "Enable Legacy Support for USB,' or similar, is selected; "Save Changes" and exit. USB keyboard ought to work.