Generalized Bessel Function Associated with Dihedral Groups