Program the decoder in one coach, remove it from the track, remove it from ECoS, program the second coach. Use that entry in ECoS to run the full unit. Note one coach will probably need CV29 adjusted to reverse its direction for the lights to be the right way round and such.