Riding on Mohammed Shami's 5/53 and Shubman Gill's good hundred, India registered a comfortable six-wicket win over Bangladesh in their opening match of the Champions Trophy.