Which version Surface Pro are you wanting to install Office 365 onto ? Does it have Windows 10 installed?
The easiest way to test compatability is to open Microsoft store application use the search function to find Office 365 Home and install it.
Below are the requirements.