Two miles is such a short ride I'd be inclined to wear whatever I usually wore for work, unless the job made that impractical. Get a set of quick on/off rain duds to wear over your work clothes. That's what I did for my motorcycle commutes, although the motorcycle rainsuit was too tight and didn't breathe well enough to be practical for bicycling.
Alternatively, Levis and a couple other manufacturers make jeans and casual pants for cyclists. I might try those.
A there are lightweight poly blend slacks that dry quickly and can be wiped clean quickly if needed. Cotton wouldn't be practical for that. There are some great poly blend fabrics now that are better suited to cyclists. Depends on whether you job has a dress code.