Moringa seeds are used as a coagulant. They are known to separate out the solid particles from a colloidal water solution. However, if bacteria or microbes such as E. coli are present, Moringa does not work as a purifying agent. The water will need to be treated for pathogens to make it potable.
See this page for more information on using Moringa for water purification.