NMR study of heavy fermion compound EuNi2P2