The switch contacts are laid out on a circuit board, and the other half of the switch are the little round carbon buttons on the underside of the rubber membrane that lies beneath the keys themselves.
You must take it apart so that you can wipe down the circuit board, then wash and dry out the back of the rubber membrane.
Just letting it 'dry out' won't work, because moisture trapped between a sheet of rubber and a circuit board is going to stay there, and the issue is the Pepsi that has fouled the tips of the carbon contacts...the sugar syrup has formed an insulator over the carbon contact, causing those keys to malfuction.
If it's only water, then possibly it may recover through evaporation, but I've never seen a kid drink water voluntarily.
Plan B is to just buy a new keyboard.