Japan have confirmed their place in the 2026 World Cup after beating Bahrain 2-0 as they sit top of Group C of AFC qualifying.