I can only guide you but only you know what is right for you. If you are serious about a career in CS, Thapar University will offer better opportunities and an environment. But if you want to explore other things and also want to enjoy your college life, then taking a dual degree at BITS Pilani will be a great choice for you. BITS has a very flexible curriculum so it allows you to explore your ambitions thoroughly and openly. Moreover, you will be exposed to a better crowd and culture so obviously the learning experience will be more enriched. Generally, both institutes have their pros and cons, and going through these will guide you better toward making a well-informed decision.
Thapar University Pros:
Thapar University Cons:
BITS Pilani Pros:
BITS Pilani Cons:
Lastly, don't take dual degrees in BITS on the pretext of getting CS. Only a handful of students get to choose CS in dual degrees.