Cavity quantum electrodynamics is the intersection of quantum physics and microcavity optics research. In this paper, we presented a two-mode cavity coupled to a classical field driven by N three-level atoms to prepare entangled coherent states based on cavity QED. In this scheme, we adopt the interaction between the three-level atoms and the two-mode optical cavity, The initial state of one optical field is an odd-even coherent state, while the initial state of another optical field is a coherent state. After considering the time evolution of the initial states with the system, we obtained the specific form of the time evolution of the quantum states and prepared the entangled coherent state successfully. We discussed and analysed some of the nonclassical properties of the optical field and quantum states, including the second-order correlation function and the Wigner function. The results show that when calculating the second-order correlation function, the photons are found to exhibit a sub-Poisson distribution at some points in time. In addition, when observing the Wigner function of the quantum states evolving with time, it is found that there is a negative part of the Wigner distribution at some moments, which implies that the quantum state exhibits nonclassical properties at these certain moments.