Thank you for your question.
As a general rule, whenever one gets a racing heart and chest pains I would first do an EKG to rule out anything serious. If the EKG is normal then I would consider other possibilities.
can cause one to have abdominal pain
but chest pain is not commonly associated with and neither is a racing heart commonly associated with it.