Minecraft for PCs can run on Windows 10 just as any other version of Windows. You can obtain Minecraft as usual from minecraft.net/download. However, your PC may not be compatible with Windows 10, in which case you should check to make sure that your computer is compatible before upgrading.