edit - Ninja'd
Is it an external (desktop) keyboard or a laptop keyboard?
Yeah, re-reading his post I'm thinking it was a laptop. That's an entirely different can of worms. Ideally you'd probably want to open it up and dry it with a towel ASAP, so that nothing corrodes. But I think it's too late for that at this point. I'd just make sure it's completely dry and then try powering it up.
they are cheap as chips.
Depends on the keyboard and what you consider "cheap". The one I use (
this one) cost me around $50 I think, which I don't consider cheap. The keyboard is very nice though. But some keyboards can get to be over a hundred.
I do also have a cheap wireless keyboard which was maybe $5 or so, and it's actually not bad, though it feels cheap (plastic is very lightweight) and a few of the keys do get jammed at times.