Keke Palmer says she found out she was pregnant from her boyfriend