Solutions of the Klein Gordon equation with generalized hyperbolic potential in D-dimensions