My pc beeped twice and nothing came
Lack of video signal is usually 1 of 3 things, Power supply (PSU), Video card or Motherboard (mobo).
Situation #1: If you get a blank screen and no sounds or movement it either indicates that the power supply unit (PSU) has failed or something on the motherboard has failed, preventing normal startup.
Situation #1A: You might get some power lights coming on and some fans spinning but the video output does not happen, usually indicates that motherboard or PSU is going out or has gone out. Occasionally it will be due to a weak (damaged) PSU.
Situation #2: If you get sounds (normal Windows startup sounds) and lights but nothing on the screen then it indicates a failed or loose video card.
Always try a different power outlet that you know is working. (Eliminate the easy stuff first!)
If it is out of warranty, try opening up the case, with the power off, of course. If you have Sit #2 and have a video card that you can reseat (take out and then put back in) try that. If it is onboard video then you may have to buy a video card for it.
Also take this time to inspect the capacitors on the motherboard (they look like tiny soda cans) and check for tops that are bulging, swelling or leaking anything. Capacitors should be perfectly flat on top. If you find these then your motherboard is bad (well technically the capacitors on your motherboard are bad). The bad caps will need replacing to fix (not a job for an amateur). If it passes the visual inspection then it may just be your power supply is bad. Notice that a bad PSU does not mean you are getting no power, just not enough to start and run the computer.
A few years ago a company stole the recipe for making capacitors and started making their own capacitors at really cheap prices. The stolen "recipe" was not complete and not correct so these caps started failing after about 2-3 years of use. Emachines, DELL and Gateway were the computer companies most affected by the bad capacitor issues, although any of the big companies could have the same problem. These bad caps also affected power supply makers.
Do you hear anything else during startup, beeps, fans or drives spinning, lights on the front or back of computer flashing or lit up? Do you hear the Windows starting sound?
Let us know more then we can troubleshoot better. Do you have the 4 diagnostic (A,B,C,D) on the rear of the machine? What is the front power light on the CPU doing?