Cleaning a waterdamaged keyboard can be very ungreatful. If you start cleanig it with isopropanol it could work a while and then some key's don't and then again and so on....
I would recomend to replace the whole keyboard for peace of mind, If the connector look's good.
If it sems dirty just clean it with a little soft brush/toothbruch. The connector is very fragil b careful!