$$3Na_3PO_4 + H_2O \rightarrow NaH_2PO_4 + 2NaOH$$
This reaction is a hydrolysis reaction, in which water breaks down a compound into its constituent parts. In this case, sodium phosphate is broken down into sodium hydrogen phosphate and sodium hydroxide.