Investors & landlords

So, since we do not live in the property, how do we deduct all of the mortgage interest and taxes?