Local and non-local properties of the entanglement Hamiltonian for two disjoint intervals