Someone mentioned a dishwasher, not sure about that. But I've had success rinsing with a bunch of hot water, letting it dry, then rinse with isopropanol (99 % from the drug store). Let dry and should be good afterwards.... hopefully. Worked for me with a number of devices.
A lot cheaper than a new keyboard.