New South Wales Deputy Premier Prue Car has revealed she has breast cancer and will be taking indefinite leave.