The answer is rather complex. When you specify a type of transport you usually say "на такси" (as Оля has said). If you mean you are in a car which is a taxi you say "в такси".

На чём ты приехал?...