Skipper Harmanpreet Singh scored a brace as India defeated a fighting Japan 3-2 to qualify for the Super Four stage of the Men's Asia Cup at Rajgir.