dude do the keyboard wireless ? a lappy keyboard ? did you tried whether on-screen keyboard is working or not ? did you uninstalled your keyboard, disconnected it from CPu, and again connected ,so that add new hardware will automatically detects your keyboard,
Did you made any change to hardware or updated driver?