Aye it sounds more like a USB or basic windows USB driver issue than the keyboard specifically (two keyboards stop working on it), does the original keyboard work on another machine?
Does the keyboard work at all during boot to allow access to the bios, or does it give a "no keyboard found, press F1 to continue" type error at boot?
If it works at boot, you may want to pop into the bios and have a look for USB Keybboard support and possibly change it to BIOS rather than OS (so the Bios takes care of making sure that it's working, rather than relying on the OS loading a suitable keyboard/interface driver for it).
If it works when set to BIOS control rather than OS, it could be that your windows install has a corrupted file relating to the USB keyboard support (Logitech etc drivers work on top of that basic support from memory).