Both windows and office are one computer per license. So you will need two licenses for 2 computers. You can not legally install the same copy on two computers.
Now if you have a volume license you can install the same copy upto the number of licenses you have. But you still need to buy a license for each computer.