If you use any of the borrowed funds for the PPOR then the interest on these wouldn't be deductible.
It all depends on how much cash you have and the LVRs I think. Use all the cash for the PPOR and borrow as much as you can for the investment - using the PPOR as security if need be.