Out of the two, I suggest you choose CS at NIT Kurukshetra. The reasons are-
- CS and IT provide much better job opportunities than other branches.
- The subjects, overall curriculum and practicals of CS are much more interesting than Electrical.
- At NIT Kurukshetra, the CS/ IT placements are good.
- Companies like Snapdeal, Flipkart, Amazon, Lenskart, HP, etc. visit the NIT Kurukshetra campus during placement season.
DTU is a good college as well. But considering the branch you are getting offered at each, I recommend you choose NIT Kurukshetra. NIT Kurukshetra offers a good curriculum and placements in CS/IT.