Derivative interactions and perturbative UV contributions in N Higgs doublet models