Look at the Interest and Taxes smart Worksheet of the Form 8829. There is a check box for using the home office in more than one business. After that you will allocate.