I've done that -- if it was just water, and not a sticky/sweet drink or juice, your chances for a full recovery are good, if you thoroughly dry it out. Tap water, depending on where you live, might have some minerals that could cause trouble but if it was clean you might not have shorted anything out.
If you can't take it fully apart (which would be best), let it dry even longer if you can, but first hold it upside-down firmly and shake vigorously for a minute or so ... if there's still any water in there, more should come out that way. Then let it dry for another day. If there was already gunk inside the keyboard, the water may have shifted it around, and made some of it adhere to moving parts, so you might want to use a can of compressed air to blow around and under each and every key.