I've seen keyboards come back from contact with liquids, and seem none the worse for wear. The odds are not good.
Sometimes, resale stores are a great place to get inexpensive keyboards. Yes, they're used, but (for example) I got the Dell branded ergonomic keyboard I currently have at a Goodwill store for $1.99 US. It was hardly used.
My better half has picked up several there -- she likes the old-timey keyboards.