Apparently, don't cook with it either:
Hot water dissolves lead more quickly than cold water and is therefore more likely to contain greater amounts of lead. Never use water from the hot water tap for drinking, cooking, or making baby formula.
https://www.epa.gov/lead/why-cant-i-use-hot-water-tap-drinking-cooking-or-making-baby-formula
It's not just the lead, it's heavy metals in general.