Invariant measure in coupled maps