Your inclination towards computer science should decide this. If you have even a small interest in CSE, many students would pick CSE at IIT Roorkee, simply because you are getting the CS branch inside an IIT. They acknowledge that IIT Delhi is the stronger institute overall, but they argue that computer science as a branch is still ahead of electrical in terms of coding careers.
The reasoning is practical. Students from non-CSE branches at the IITs very often end up in IT jobs, which means they need to put in extra effort to learn the basics of core CS subjects, such as data structures, operating systems and databases. A CSE student studies these in the curriculum, so you spend your time on depth and projects instead of catching up.
The other side is location and brand. Students point out that major cities like Delhi attract more recruiters, faculty and opportunities, which is one reason IIT Delhi, Bombay and Madras are favourites. Electrical engineering at IIT Delhi also leaves you with a wider choice: electronics, power, control, signal processing and, with additional learning, software.
If you are sure about coding, choose CSE at Roorkee. If you are interested in electrical and electronics, or want to keep options like higher studies and core roles open, IIT Delhi EE is a sound choice. Speak to students in both branches and compare the latest placement reports.
My brother is a CS student at IIT Roorkee, yet he suggests everyone should go for Electrical at IIT Delhi instead. Here are a few reasons why:
All these reasons are more than enough to convince someone to choose IIT Delhi over IIT Roorkee.