Coupled two-component atomic gas in an optical lattice