Have you tried different SD cards? If you did not power down safely, but instead just disconnected the power, you may have corrupted your SD card.
Revised answer :
On the Pi, the green light staying on means it couldn't read the initialization file bootcode.bin
from the SD card. Check that the correct files are on the card and that it is FAT formatted, not EXFAT, and be sure that you are burning the latest os, as older Pi os's will not run on the newer Pi 3.(if applicable).
The red led should always be on as it indicates that the Pi is revivingreceiving power, it is likely that one of your EdSD card pins may have been bent, please ensure a solid contact.
Other than that I can not really help you, please mark this answer as correct if it has helped you debug or better understand your problem.