Could be a fault with your keyboard...if it is pretty new, I would try and contact the supplier and make a warranty claim.
Sometimes they get a little dusty etc. you could try unplugging it up end it and give it a few sharp but gentle bangs on the desktop...this dislodges anything that might be clogging up the works. It is surprising how much debris can build up.