Japan advised more than a million people to leave their homes as two tropical storms swept toward the archipelago Friday, with torrential rain also pounding Taiwan, where at least two people have been killed.