Water is said to be soft when
It easily forms lather with soap
Pure water or water containing sodium salts is called soft water as it forms lather easily with soap and is suitable for use.
Hard water, on the other hand, doesn't form lather and contains impurities like Hydrogen carbonate, sulphates or chlorides of calcium and magnesium.