Japan , which is prone to earthquakes and tsunamis , has offered to share its tsunami-warning technology to build the new Indian Ocean system .