If the cold water flows for a bit followed by the hot water, then it is the pump. But if the cold water continues to flow endlessly, then it is the central heaters.