Disclaimer: I won't provide any links here as you are technically breaking the OS X license by running on non-mac hardware, even if you do own a copy of OS X. This is purely informational.
Installing OS X on VMware is not as easy as installing Windows or Linux. Do a Google search for "mavericks osx86 vmware" and you should get some useful results/guides. If you do a little digging on the web, you can find some preinstalled OS X VMware images where the hard work is already done.