My assumption, been there, is that you moved the USB receiver from one USB port to another. The solution is to use another Keyboard and open the Device Manager and 'Delete' Wireless KB/Mouse then either restart or scan for new devices. The driver gets corrupted when it's moved. On my MS Wireless 6000 I've numbered the ports and used tape to label the USB wires.
Hope that helped!