Israel has attacked a critical water desalination plant and a mosque in Gaza as it intensifies attacks on the enclave.