Whose pen is it? (那是谁的笔)和 Whose is this pen?(这笔是谁的)都可以
另外还可以这么问:
Who owns the pen?
Whom does the pen belong to?