Absolutely. Terrorists should be punished.
However, people have a habit of getting arrested for the wrong reason.
The fear with torture (and capital punishment) is getting the wrong person.
Don't get me wrong though. If someone hurt my kids, sure I'd threaten the water supply of the local village...then go after the people. The water supply thing was just a cartoony super villian thing to try out.