You could try removing the keys and cleaning underneath, which could be the cause of your problem. Alternatively, you can purchase a cheap USB mechanical keyboard for use with it. As a last resort, you can replace the entire keyboard; this requires a little bit of technical knowledge, but there are plenty of how-to guides out there such as
this one.