Scalar and fermion on-shell amplitudes in generalized Higgs effective field theory