Tencent interview question

How to implement a queue using two stacks? How to perform enqueue and dequeue with it? What's the time complexity of enqueue and dequeue?