Water and electronics do not make happy bedfellows. Your iPad is not designed to be water resistant. While it may survive being splashed with water if immediately dried, it will almost certainly suffer irreparable damage if is allowed to get wet or is submerged.
If the worst should happen, speed is essential. If the iPad gets wet, it should be immediately dried with an absorbent towel - then set aside in a warm, dry location to throughly dry. If the iPad should be turned-off - and no attempt made to turn-on, use, or charge the iPad until you are absolutely certain that the iPad has fully dried out. Pay particular attention to the charging port.
You would be best advised to take your iPad along to the Genius Bar at your local Apple Store or Apple Authorised Service Provider (AASP) - where the technicians will be able to assess your iPad. If repair isn’t possible, the iPad can be responsibly recycled - and you’ll be in the best possible place to explore possible replacement:
Genius Bar Reservation and Apple Support Options - Apple