Did you spill on it? Does it work ok using a USB keyboard?
Likely need a new keyboard. If you open the on screen keyboard and start hitting keys it will light up those in green that are activated. If you hit k and it lights up more than k then your keyboard is bad and you need to replace it.