Unplug the both the battery and the power cord QUICK!!
Then take the unit apart to where you can remove and replace the keyboard. See YouTube for your make and model for instructions on how.
Open the top to the computer and set it on it's side with the keyboard out. Put a fan on it for 48 hours full power. Order a new keyboard while waiting for computer to dry. (EBay).
FORGET THE RICE, IT DOESN'T WORK ANYWAY. Clean out the computer fan and cooling fins of all dust and pet fur while it's apart. When you get the new keyboard installed, pray that's all it was. Power it up. If it still doesn't work, The mommy-board is fried,
replace computer, and don't spill in new one. You will only be out the price of the keyboard (about $15) if it...