Combined threshold and transverse momentum resummation for inclusive observables