We consider a two-qubit system described by the Heisenberg XY model with Dzyaloshinski Moriya (DM) anisotropic interaction in a perpendicular magnetic field to investigate the relation between entanglement, geometric phase and quantum phase transition (QPT). It is shown that the DM interaction has an effect on the critical boundary. The combination of entanglement and geometric phase may characterize QPT completely. Their jumps mean that the occurrence of QPT and inversely the QPT at the critical point at least corresponds to a jump of one of them.