The number of virtual CPU's you can assign to a VM depends on the OS you selected, when you created the VM.
There are some limitations in licensing and support by different OS vendors (like MS).
For example: If you create an XP VM you can only assign 2 vCPU's.
BTW: Don't assign too many vCPU's. Best practice is to assign as many as needed and as less as possible.
André