Sorry to tell you that there is no direct long-distance bus.
Thus for your convenience, take a flight to Xian Xianyang Airport directly. There are several flights daily with the duration of nearly 3 hours. Upon landing, you can easily find the shuttle bus to Xianyang downtown area at Airport Transportation Center.