Can rice get water out of a wet keyboard?
I wouldn't put a wet keyboard in rice, because the grains can get stuck under the keys and cause more trouble than the water. In my experience the rice trick on phones only helps a little, if at all. For a keyboard, set it upside down on a towel, swap the towel until it stays dry, then check the bottom for seepage. Once it's dry, test it. If it still doesn't work, give it a couple of days in open air, but you'll probably need a new keyboard.