Pegasystems Inc. is reportedly in talks to get a $1 billion investment at a time the enterprise software maker is in the middle of a $2 billion lawsuit with Appian Corp.