The calcium carbonate in the water is due to rainwater which passes underground. First it absorbs carbon dioxide, and forms molecules of carbonic acid.
The calcium carbonate in the water is a result of rainwater penetrating beneath the surface. Initially, it reacts with atmospheric carbon dioxide to produce carbonic acid molecules.