They are both good sentences but carry different meanings. The first states the method of going downtown or the purpose of taking the bus. The second merely indicates the kind of bus needed.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.