${\mathrm{Co}}_{2}{\mathrm{V}}_{2}{\mathrm{O}}_{7}$ was recently reported to exhibit remarkable magnetic-field-induced magnetization plateaus and ferroelectricity [R. Chen et al., Phys. Rev. B 98, 184404 (2018)], but its magnetic ground state remains ambiguous. Magnetometry measurements and time-of-flight neutron powder diffraction (NPD) have been employed to study the structural and magnetic properties of ${\mathrm{Co}}_{2}{\mathrm{V}}_{2}{\mathrm{O}}_{7}$, which includes two nonequivalent Co sites. Upon cooling below the N\'eel temperature ${T}_{\text{N}}=6.0(2)$ K, we observe magnetic Bragg peaks at 2 K in NPD, which indicates the formation of long-range magnetic order of ${\mathrm{Co}}^{2+}$ moments. After symmetry analysis and magnetic structure refinement, we demonstrate that ${\mathrm{Co}}_{2}{\mathrm{V}}_{2}{\mathrm{O}}_{7}$ possesses a complicated noncollinear magnetic ground state with Co moments mainly located in the b-c plane and forming a noncollinear spin-chain-like structure along the c-axis. The ab initio calculations demonstrate that the noncollinear magnetic structure is more stable than various ferromagnetic states at low temperature. The noncollinear magnetic structure with a canted $\ensuremath{\uparrow}\ensuremath{\uparrow}\ensuremath{\downarrow}\ensuremath{\downarrow}$ spin configuration is considered to be the origin of magnetoelectric coupling in ${\mathrm{Co}}_{2}{\mathrm{V}}_{2}{\mathrm{O}}_{7}$ because the inequivalent exchange striction induced by the spin-exchange interaction between the neighboring spins could be the driving force of ferroelectricity. It is also found that the deviation of lattice parameters a and b is opposite below ${T}_{\text{N}}$, while the lattice parameter c and $\ensuremath{\beta}$ stay almost constant below ${T}_{\text{N}}$, evidencing the anisotropic magnetoelastic coupling in ${\mathrm{Co}}_{2}{\mathrm{V}}_{2}{\mathrm{O}}_{7}$.