According to Microsoft, the following data must be given on the PC:
Interface: Compatible with Bluetooth Low Energy 4.0/4.1
Operating system: Windows 10/8.1/8
Windows 10 Smartphone
Android 4.4.2-5.0
Macintosh Mac OS X v10.10.5 / 10.11.1 and 10.11.4
System requirements for optimal use: PC that meets the requirements and has one of the following operating systems installed: Windows 10/8.1/8
Mac OS 10.10.5/10.11.1
iOS 8.1-9.2.1
Android 4.4.2-5.0
However, with the Windows layout, I would not recommend using the keyboard on a Mac.