Don't think you're going to find a software solution to what is quite certainly a hardware problem. If the problem is a serious one to you then your best bet is to remove the keyboard, give it a good long soak and agitate in luke warm soapy water, rinse it well and gently dry it for 48 hours. If that fails then it's time for a new keyboard.