We perform path-integral molecular dynamics (PIMD) and classical MD simulations of H2O and D2O using the q-TIP4P/F water model over a wide range of temperatures and pressures. The density ρ(T), isothermal compressibility κT(T), and self-diffusion coefficients D(T) of H2O and D2O are in excellent agreement with available experimental data; the isobaric heat capacity CP(T) obtained from PIMD and MD simulations agree qualitatively well with the experiments. Some of these thermodynamic properties exhibit anomalous maxima upon isobaric cooling, consistent with recent experiments and with the possibility that H2O and D2O exhibit a liquid-liquid critical point (LLCP) at low temperatures and positive pressures. The data from PIMD/MD for H2O and D2O can be fitted remarkably well using the Two-State-Equation-of-State (TSEOS). Using the TSEOS, we estimate that the LLCP for q-TIP4P/F H2O, from PIMD simulations, is located at Pc = 167±9 MPa, Tc = 159±6 K, and ρc = 1.02±0.01 g/cm3. Isotope substitution effects are important; the LLCP location in q-TIP4P/F D2O is estimated to be Pc = 176 ± 4 MPa, Tc = 177 ± 2 K, and ρc = 1.13±0.01 g/cm3. Interestingly, for the water model studied, differences in the LLCP location from PIMD and MD simulations suggest that nuclear quantum effects (i.e., atoms delocalization) play an important role in the thermodynamics of water around the LLCP (from the MD simulations of q-TIP4P/F water, Pc = 203 ± 4 MPa, Tc = 175 ± 2 K, and ρc = 1.03 ± 0.01 g/cm3). Overall, our results strongly support the LLPT scenario to explain water anomalous behavior, independently of the fundamental differences between classical MD and PIMD techniques. The reported values of Tc for D2O and, particularly, H2O suggest that improved water models are needed for the study of supercooled water.