Computation of the strong coupling in QCD with two dynamical flavors