The water megamaser in the merger system Arp 299