You refer to digital pins 0 and 1 as 0 and 1, not as anything else.
You can use them as inputs and/or outputs but you loose the ability of serial communication.
During an upload it's advisable to disconnect everything that is connected to those pins to prevent possibly upload issues.
You can use USB to power.
The above applies to a real Arduino; clones might differ.
Note that analog pins can be used as digital pins; it's preferable to keep pins 0 and 1 available for debugging purposes and use the analog pins if possible instead of 0 and 1.
If you always refer to the analog pins as A0, A1, A2 etc and the digital pins as 0, 1, 2 etc then there should be no confusion about which physical pins you are referring to.
I don't understand why I can't use them is the same way...
What's wrong?
Pins 0 and 1, because they are the hardware serial pins, have built-in pullup resistors. Depending on your circuit, you may, or may not, be able to use them as inputs for switches.
I'm using Arduino One.
Now 2 pushbutton are connected but it doesn't work.
I will try with 2 led but I don't know if is the right way.
I need them... I haven't other pins free with Lcd display, 10 push button, 3 leds and 1 buzzer.
I can't take a multiplexer shield now... It's too late.
I need to know if there's a way to use pin 0 and 1 for 2 pushbuttons or leds using only Arduino board.
Just make sure that you unplug the pushbuttons before uploading your code. Just connect the switches to the pin and ground and intitialise your pins with:pinMode(0, INPUT_PULLUP)You should be fine. Don't try to use pulldown resistors.