The best thing is to avoid exposing your phone to any moisture because steam can harm electronics over time. In the worst situation, shower water vapour could condense within your device that causes a short, effectively killing your phone.