Using compact simple Lie groups and Heisenberg groups, we combine and generalize the constructions of complex structures on Kodaira surfaces and Hopf surfaces. We identify locally complete parameter spaces of deformations of these spaces and analyze the deformation of Kodaira manifolds in details.