Both the courses are good.
However, with the advancement of technologies like AI and ML, and one’s increasing dependency upon them, Data Science has become a field with immense potential.
Data Science has a lot of future scope, and its demand will only increase with time. This field requires a good understanding of Statistics, Mathematics, and Computer Science (Especially Python Language).
BSc. in Data Science is an even better option than CSE at present. Moreover, college-wise, IIT Kanpur is way ahead of IIT Dhanbad.
Therefore I would recommend you choose BSc. Statistics and Data Science at IIT Kanpur over CSE at IIT Dhanbad.