People living in Arizona, California and Nevada are being advised to stay inside as a heat wave hits the United States.