The gradient flow of Higgs pairs