Tap water conducts electricity since there are small amounts of calcium and magnesium salts dissolve in it, pure water (distilled or de-ionised) has nothing at all in it that can conduct electricity. This is because water itself isn't a conductor. However, when one dissolves ionic compound such as salts, the ions becomes loosely bound to each other which makes tap water a good conductor of electricity.