Although the TS-E's are the best for architecture, with the right technique and right software, you can do it on a budget with good results with something like a 17-40 and a tripod.
Just do the usual - carefully align the camera, use an aperture for maximum detail (probably around f11 for depth of field, corner sharpness and avoiding diffraction), and take the shot at the lowest ISO possible for the dynamic range needed - possibly 50 or 100 - if you control the lighting, this shouldn't be an issue.
Just make sure you correct for lens distortion before shifting in software. Please note that the more you do the shift correction digitally, the less of the original image you'll retain, so you'll need to shoot quite a bit wider to compensate.
The issues with this approach are lots of shifted pixels, and using just a cropped part of the sensor. A TS-E allows for you to do the same effect in camera, using the entire FF sensor with no pixels shifted around.