Dynamics of viscoplastic deformation in amorphous solids